import randomNum from './random'
export default function createVMap () {
    const vMap = []
    for (let i=0; i< 11;i++) {
        const rowMap = []
        for(let j=0; j < 21; j++) {
            const blockType = randomNum(1,100) > 93 ? randomNum(6,9) : randomNum(0,5)
            rowMap.push(blockType)
        }
        vMap.push(rowMap)
    }
    console.log(vMap)
    this.props.vmapActions.setMap(vMap)
}